context TERM rxvtbed
#don't place any keys statements before this statements
#the first keys statement initialises ncurses
setenv TERMINFO c:/Program Files/bed/terminfo
setenv isxterm rxvtbed
context TERM
#datatypedir $CONFDIR/misc/
CONTEXT COLORTERM 
keys  27 91 55 126 = home #home
keys  27 91 56 126 = end #end
CONTEXT CURSES_VERSION PDCURSES
keys 26 = suspend
keys 27 209 = consoleresize
setenv no_nconsole 1
CONTEXT CURSES_VERSION PDCURSES
setenv noxterm 1
context DISPLAY
setenv isxterm DISPLAY
context TERM xterm
setenv isxterm xterm
context TERM rxvt
setenv isxterm rxvt
context TERM xterm-color
setenv isxterm xterm-color
context ! isxterm
setenv noxterm 1
#context ! OS Windows_NT
#setenv NOPOWER
#context  !EXITCODE 
#setenv NOPOWER
#context  ! NOPOWER
#setenv SHELL powershell.exe
color OPENLIST    black  red bold reverse
context noxterm
menuitem 8 "Resi~ze" "F11" 1 + = consoleresize
CONTEXT ! noxterm 
setenv no_nconsole 1
setenv SHELL bash.exe
color OPENLIST    black  cyan bold
color OPENLISTACT  red  white bold reverse
color OPENLISTSEL  green  magenta
color OPENNORMAL  white  magenta bold 
color OPENLISTACT  brown yellow bold  reverse
color SPACEAFTER black white
color TEXT  normal
color SELECTION  reverse
color CURSOR  red   green bold reverse
color SELCURSOR  black cyan  reverse underline bold
color COMMAND reverse
color BAR BLUE white reverse
color BARKEY  black  white bold underline
color MENU BLUE WHITE reverse
color MENUKEY  black white bold underline
color MENUSEL BLUE  WHITE
#color OPENTITLE yellow red   reverse bold
#color OPENTITLE red yellow  reverse bold
#color OPENKEY  yellow  BLACK bold reverse
color OPENTITLE yellow green  reverse bold
color OPENKEY   block white  bold underline
color SHOWBACK    white    blue reverse
keys  127 = backspace #backspace
keys  27 91 49 50 126 = dosave #F2
keys  27 91 49 51 126 = nextsearch #F3
keys  27 91 49 52 126 = playrecord #F4
keys  27 91 72 = home #home
keys  27 91 70 = end #end
keys  27 79 80 = f1 #F1
keys  27 91 49 49 126 = f1 #F1
keys  27 79 81 = dosave #F2
keys  27 79 82 = nextsearch #F3
keys  27 79 50 82 = beginfile #S-F3
keys  27 79 50 83 = endfile #S-F4
keys  27 91 49 56 59 50 126 = middlepage #S-F7
keys  27 91 49 53 59 50 126 = addprev #S-F5
keys  27 91 49 55 59 50 126 = addnext #S-F6
keys  27 79 83 = playrecord #F4
keys 27 91 49 59 53 70 = endfile
keys 27 91 49 59 53 72 = beginfile
keys 27 91 56 94 = endfile
keys 27 91 55 94  = beginfile
context ! no_nconsole
keys 27 91 50 51 126 = consoleresize
context TERM

